package com.power.flowable.model.pageinfo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

@Data
@EqualsAndHashCode(callSuper = false)
@Component
public class FlowablePageInfo {
	
	/**
	 * 每页数量
	 */
	public Integer pageSize = 20;
	
	/**
	 * 当前页码
	 */
	public Integer pageNumber = 1;
	
	/**
	 * 总数
	 */
	public Integer total;
	
	/**
	 * 是否分页
	 */
	public Boolean limit = true;
	
	/**
	 * 排序字段
	 */
	public String sort = "id_";
	
	/**
	 * 排序规则
	 */
	public String order = "desc";
	
}
